# 分别是1~9的序号，把它们随机放到红黄蓝三个袋子中，请打印一次结果。tips:daizi=[ [ ],[ ],[ ] ] 

import random
num1=[1,2,3,4,5,6,7,8,9]
daizi=[[],[],[]]
for i in range(len(num1)):
    num=random.randint(0,2)
    daizi[num].append(num1[i])
print(daizi)